package com.dubbo.lian.cms.modules.app;
 import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
 import java.io.Serializable;
import java.util.Date;
 /**
 * <p>
 * 室内空气表
 * </p>
 *
 * @author lian
 * @since 2016-12-22
 */
@TableName("indoor_air")
public class IndoorAir extends Model<IndoorAir> {
     private static final long serialVersionUID = 1L;
 	/**
	 * 主ID
	 */
	@TableId
	private Integer id;
	/**
	 * 用户ID
	 */
	private String mac;
	/**
	 * 室内PM2.5
	 */
	private Integer pm25;
	/**
	 * 
	 */
	private Integer pm10;
	/**
	 * 甲醛
	 */
	private Integer formaldehyde;
	/**
	 * 湿度
	 */
	private Integer humidity;
	/**
	 * 温度
	 */
	private Integer temperature;
	/**
	 * 
	 */
	private Date time;
 	@Override
	public String toString() {
		return "IndoorAir{" +
				"id=" + id +
				", mac='" + mac + '\'' +
				", pm25=" + pm25 +
				", pm10=" + pm10 +
				", formaldehyde=" + formaldehyde +
				", humidity=" + humidity +
				", temperature=" + temperature +
				", time=" + time +
				'}';
	}
 	public Integer getId() {
		return id;
	}
 	public void setId(Integer id) {
		this.id = id;
	}
 	public String getMac() {
		return mac;
	}
 	public void setMac(String mac) {
		this.mac = mac;
	}
 	public Integer getPm25() {
		return pm25;
	}
 	public void setPm25(Integer pm25) {
		this.pm25 = pm25;
	}
 	public Integer getPm10() {
		return pm10;
	}
 	public void setPm10(Integer pm10) {
		this.pm10 = pm10;
	}
 	public Integer getFormaldehyde() {
		return formaldehyde;
	}
 	public void setFormaldehyde(Integer formaldehyde) {
		this.formaldehyde = formaldehyde;
	}
 	public Integer getHumidity() {
		return humidity;
	}
 	public void setHumidity(Integer humidity) {
		this.humidity = humidity;
	}
 	public Integer getTemperature() {
		return temperature;
	}
 	public void setTemperature(Integer temperature) {
		this.temperature = temperature;
	}
 	public Date getTime() {
		return time;
	}
 	public void setTime(Date time) {
		this.time = time;
	}
 	@Override
	protected Serializable pkVal() {
		return this.id;
	}
 }
